<?php
namespace app\api\controller;

use app\common\controller\Api;
use app\common\model\news\NewsCategory as NewsCategoryodel;


/**
 * 文章接口
 */
class Newscategory extends Api
{
    protected $noNeedLogin = '*';
    protected $noNeedRight = '*';


    /**
     * 获取真条线栏目
     */
    public function index()
    {

        $parmer = $this->request->post();

        $list=NewsCategoryodel::getLineList($parmer);
        $this->success('',$list);
    }

}
